// 可变元组
// let customers: [string, number, string, ...any[]] =
//     ["wangwu", 23, "北京东路3号", "1231231", "一起飞", 21312]


// 可变元组解构
let [custname,age,address,...rest]: [string, number, string, ...any[]] =
    ["wangwu", 23, "北京东路3号", "1231231", "一起飞", 21312]
    console.log(custname,age,address,rest);
